<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>background</title>
    <style>
        div {
            width: 1300px;
            height: 335px;
            /* background: url("../期末大作业/image/jju_10.jpg"); */
        }
    </style>
</head>
<body>
    <div id="tt">
    </div>
    <script>
        var bg = document.getElementById("tt");
        bg.style.background = 'url("../期末大作业/image/jju_10.jpg")';
    </script>
</body>
</html>